Design a 2-bit Flash-type Analog to Digital Converter (ADC). Draw the complete block diagram with the coding circuit for encoding the comparator outputs.